﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Serialization;

namespace Model
{
    [DataContract]
    [MB.Orm.Mapping.Att.ModelMap("LocationGoods", "LocationGoods", new string[] { "LOCATIONGOODSID" })]
    [KnownType(typeof(LocationGoods))]
    public class LocationGoods : MB.Orm.Common.BaseModel
    {
        public LocationGoods()
        {
        }
        private int _LOCATIONGOODSID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("LOCATIONGOODSID", System.Data.DbType.Int32)]
        public int LOCATIONGOODSID
        {
            get { return _LOCATIONGOODSID; }
            set { _LOCATIONGOODSID = value; }
        }

        private int _LOCATIONID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("LOCATIONID", System.Data.DbType.Int32)]
        public int LOCATIONID
        {
            get { return _LOCATIONID; }
            set { _LOCATIONID = value; }
        }

        private string _LOCATIONCODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("LOCATIONCODE", System.Data.DbType.String)]
        public string LOCATIONCODE
        {
            get { return _LOCATIONCODE; }
            set { _LOCATIONCODE = value; }
        }

        private int _GOODSID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSID", System.Data.DbType.Int32)]
        public int GOODSID
        {
            get { return _GOODSID; }
            set { _GOODSID = value; }
        }

        private string _GOODSCODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSCODE", System.Data.DbType.String)]
        public string GOODSCODE
        {
            get { return _GOODSCODE; }
            set { _GOODSCODE = value; }
        }

        private string _GOODSNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSNAME", System.Data.DbType.String)]
        public string GOODSNAME
        {
            get { return _GOODSNAME; }
            set { _GOODSNAME = value; }
        }

        private string _CREATER;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("CREATER", System.Data.DbType.String)]
        public string CREATER
        {
            get { return _CREATER; }
            set { _CREATER = value; }
        }

        private DateTime _CREATEDATE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("CREATEDATE", System.Data.DbType.DateTime)]
        public DateTime CREATEDATE
        {
            get { return _CREATEDATE; }
            set { _CREATEDATE = value; }
        }

        private string _EDITOR;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("EDITOR", System.Data.DbType.String)]
        public string EDITOR
        {
            get { return _EDITOR; }
            set { _EDITOR = value; }
        }

        private DateTime _EDITDATE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("EDITDATE", System.Data.DbType.DateTime)]
        public DateTime EDITDATE
        {
            get { return _EDITDATE; }
            set { _EDITDATE = value; }
        }

        private string _REMARK;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("REMARK", System.Data.DbType.String)]
        public string REMARK
        {
            get { return _REMARK; }
            set { _REMARK = value; }
        }

        private int _WAREHOUSEID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("WAREHOUSEID", System.Data.DbType.Int32)]
        public int WAREHOUSEID
        {
            get { return _WAREHOUSEID; }
            set { _WAREHOUSEID = value; }
        }

        private string _WAREHOUSENAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("WAREHOUSENAME", System.Data.DbType.String)]
        public string WAREHOUSENAME
        {
            get { return _WAREHOUSENAME; }
            set { _WAREHOUSENAME = value; }
        }

        private string _CELLNO;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("CELLNO", System.Data.DbType.String)]
        public string CELLNO
        {
            get { return _CELLNO; }
            set { _CELLNO = value; }
        }

        private int _PROCESSGOODSID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("PROCESSGOODSID", System.Data.DbType.Int32)]
        public int PROCESSGOODSID
        {
            get { return _PROCESSGOODSID; }
            set { _PROCESSGOODSID = value; }
        }

        private string _PROCESSGOODSCODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("PROCESSGOODSCODE", System.Data.DbType.String)]
        public string PROCESSGOODSCODE
        {
            get { return _PROCESSGOODSCODE; }
            set { _PROCESSGOODSCODE = value; }
        }

        private string _PROCESSGOODSNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("PROCESSGOODSNAME", System.Data.DbType.String)]
        public string PROCESSGOODSNAME
        {
            get { return _PROCESSGOODSNAME; }
            set { _PROCESSGOODSNAME = value; }
        }

        private int _DIRECTSELLINGGOODSID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("DIRECTSELLINGGOODSID", System.Data.DbType.Int32)]
        public int DIRECTSELLINGGOODSID
        {
            get { return _DIRECTSELLINGGOODSID; }
            set { _DIRECTSELLINGGOODSID = value; }
        }

        private string _DIRECTSELLINGGOODSCODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("DIRECTSELLINGGOODSCODE", System.Data.DbType.String)]
        public string DIRECTSELLINGGOODSCODE
        {
            get { return _DIRECTSELLINGGOODSCODE; }
            set { _DIRECTSELLINGGOODSCODE = value; }
        }

        private string _DIRECTSELLINGGOODSNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("DIRECTSELLINGGOODSNAME", System.Data.DbType.String)]
        public string DIRECTSELLINGGOODSNAME
        {
            get { return _DIRECTSELLINGGOODSNAME; }
            set { _DIRECTSELLINGGOODSNAME = value; }
        }

        private int _WOCGOODSID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("WOCGOODSID", System.Data.DbType.Int32)]
        public int WOCGOODSID
        {
            get { return _WOCGOODSID; }
            set { _WOCGOODSID = value; }
        }

        private string _WOCGOODSCODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("WOCGOODSCODE", System.Data.DbType.String)]
        public string WOCGOODSCODE
        {
            get { return _WOCGOODSCODE; }
            set { _WOCGOODSCODE = value; }
        }

        private string _WOCGOODSNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("WOCGOODSNAME", System.Data.DbType.String)]
        public string WOCGOODSNAME
        {
            get { return _WOCGOODSNAME; }
            set { _WOCGOODSNAME = value; }
        }

        private int _OTHERGOODSID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("OTHERGOODSID", System.Data.DbType.Int32)]
        public int OTHERGOODSID
        {
            get { return _OTHERGOODSID; }
            set { _OTHERGOODSID = value; }
        }

        private string _OTHERGOODSCODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("OTHERGOODSCODE", System.Data.DbType.String)]
        public string OTHERGOODSCODE
        {
            get { return _OTHERGOODSCODE; }
            set { _OTHERGOODSCODE = value; }
        }

        private string _OTHERGOODSNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("OTHERGOODSNAME", System.Data.DbType.String)]
        public string OTHERGOODSNAME
        {
            get { return _OTHERGOODSNAME; }
            set { _OTHERGOODSNAME = value; }
        }
        private string _WAREHOUSECODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("WAREHOUSECODE", System.Data.DbType.String)]
        public string WAREHOUSECODE
        {
            get { return _WAREHOUSECODE; }
            set { _WAREHOUSECODE = value; }
        }

        private int _VALID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("VALID", System.Data.DbType.Int32)]
        public int VALID
        {
            get { return _VALID; }
            set { _VALID = value; }
        }
    }
}
